//
//  SettingItem.h
//  SinaWebo
//
//  Created by wwj on 16/1/18.
//  Copyright © 2016年 亦心. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^SettingItemBlock)();

@interface SettingItem : NSObject
/**
 *   图标
 */
@property (nonatomic, copy) NSString *icon;

/**
 *  标题
 */
@property (nonatomic, copy) NSString *title;

@property (nonatomic, strong) NSString *subTitle;

/**
 *  代码块
 */
@property (nonatomic, copy) SettingItemBlock block;

+(instancetype)initWithIcon:(NSString *)icon title:(NSString *)title;
+(instancetype)initWithIcon:(NSString *)icon title:(NSString *)title subTitle:(NSString *)subTitle;
@end
